GPU 层卸载-ngl / Offload
-ngl / Offload
把模型一部分交给 GPU、一部分留在 CPU,显存不够时的妥协手段。Give part of the model to the GPU and keep the rest on the CPU — the compromise when VRAM falls short.
按层分配计算位置:显存够的部分放 GPU,剩下的放 CPU 由内存承担。
llama.cpp 里通常用 `-ngl` 参数控制。
Assigning layers across devices: whatever fits in VRAM goes to the GPU, the rest runs on the CPU backed by system memory.
In llama.cpp this is usually controlled with the `-ngl` flag.
它让「显存差一点」的模型也能跑起来,代价是速度下降明显。这是权衡,不是免费午餐。It lets models that "almost" fit run at all, at a clear cost in speed. A trade-off, not a free lunch.
按显存倒推选档位(千问 3.8)Choosing by VRAM, backwards (Qwen3.8) ↗
回到名词地图看第5段的其他 45 个词 →Back to the map: the other 45 terms in stage 5 →
- 按显存倒推选档位(千问 3.8)Choosing by VRAM, backwards (Qwen3.8) ↗
别停在定义:去任务手册看按什么顺序做、验收什么;或者按你手头的任务,筛 3 个工具候选。Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.
任务手册 →Task handbooks → · 按任务筛 3 个候选 →Filter three candidates →